package com.javatest.starter;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/1/6 21:26
 */
public class HelloService {

    private HelloProperties helloProperties;

    public HelloProperties getHelloProperties() {
        return helloProperties;
    }

    public void setHelloProperties(HelloProperties helloProperties) {
        this.helloProperties = helloProperties;
    }

    public String sayHelloAtguigu(String name) {
        return helloProperties.getPrefix() + name + helloProperties.getSuffix();
    }
}
